package top.auntie.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import top.auntie.model.OrgGroup;
import top.auntie.model.OrgGroupExample;

public interface OrgGroupDao {
    long countByExample(OrgGroupExample example);

    int deleteByExample(OrgGroupExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(OrgGroup record);

    int insertSelective(OrgGroup record);

    List<OrgGroup> selectByExample(OrgGroupExample example);

    OrgGroup selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") OrgGroup record, @Param("example") OrgGroupExample example);

    int updateByExample(@Param("record") OrgGroup record, @Param("example") OrgGroupExample example);

    int updateByPrimaryKeySelective(OrgGroup record);

    int updateByPrimaryKey(OrgGroup record);
}